<?php
$loadid="";
if(isset($_GET['loadid'])) {
	//echo "loadid:";
	//echo $_GET['loadid'];
	$loadid=$_GET['loadid'];
	$names = preg_split("/_/", $loadid);
	if(strcmp($names[0], $names[1]) >=0 ) {
		$postdst = "$names[0]_$names[1]";
	}
	else
		$postdst = "$names[1]_$names[0]";

	#echo "how $postdst";
	if(file_exists("chat/$postdst"))
			echo file_get_contents("chat/$postdst");
}
?>
